home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
2_5.lha
/
2_5
/
2_5a_a.c
next >
Wrap
Text File
|
1993-08-08
|
372b
|
15 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ "obvious" solution to print letters and digits
/ version 1
include <stream.h>
nt main(int, char**)
include "2_5a_a1.c" /* EXPAND */
for (ch = '0'; ch <= '9'; ch++)
cout << chr(ch) << " " << ch << "\n";
return 0;